package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.UserAddressEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface UserAddressDao {
	
	List<UserAddressEntity> searchByUid(@Param("uid")String uid);

	int insert(UserAddressEntity addressEntity);
	
	int update(UserAddressEntity addressEntity);
	
	int deleteById(@Param("uaId")int uaId);

	UserAddressEntity searchByUaId(@Param("uaId")int uaId);

	int removeDefaultByUid(@Param("uid")String uid);
}
